#ifndef __PRINT_H__
#define __PRINT_H__

extern int next_num;
extern int next_mode;
extern int next_color;

extern int next_x;
extern int next_y;

extern int init_x;
extern int init_y;

extern int dynamic_x;
extern int dynamic_y;

extern int dynamic_num;
extern int dynamic_mode;
extern int dynamic_color;

extern int ms;

extern int score_x;
extern int score_y;
extern int level_x;
extern int level_y;

extern int matrix[24][28];

extern int shape[7][4][18];

extern int score;
extern int level;

extern void print_mode_shape(int n, int m, int x, int y, int c);
extern void print_next_shape();
extern void erase_last_shape(int n, int m, int x, int y);
extern int move_down(int num, int mode);
extern void store_current_shape();
extern int check_shape(int n, int m, int x, int y);
extern void init_new_shape();
extern void game_over();

#endif // !__PRINT_H__
